<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>工时填写</title>
    <link th:href="@{/layui/css/layui.css}" rel="stylesheet" />
    <style type="text/css">
        .back{
            padding: 30px 30px ;

            width: 1250px;
            height: 1000px;

        }
        .part{

            width: 1250px;
            height: 300px;
        }
        table{
            margin-left: 60px;
            margin-top: 30px;
        }
        table th{

            width: 300px;
            height: 60px;
        }
        table td{

            width: 300px;
            height: 60px;
        }
        input{
            padding-right: 10px;
            margin-top: 10px;
            width: 160px;
            height: 30px;
            border-radius: 5px;
            border: 1px solid #4169E1;

        }
        select{
            margin-top: 10px;
            width: 160px;
            height: 30px;
            border: 1px solid #4169E1;
        }
        .submitButton{
            margin-left: 1120px;
            width: 95px;
            height: 45px;
            border-radius: 5px;
            color: white;
            background-color: #33CCFF;
        }
    </style>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">

    <!-- header -->
    <div th:replace="~{commons/header::header}"></div>

    <!-- left -->
    <div th:replace="~{commons/employerLeft::left}"></div>
    <!-- 内容主体区域 -->
    <div class="layui-body">
        <div class="back">
            <h1 style="text-align: center;">添加工时</h1>

            <div class="part">
                <form action="/hw_unit_timeAdd" method="post" >

                    <input class="submitButton" type="submit" value="提交">
                    <table>


                        <tr >
                            <th>用工批次:</th>
                            <td><select name="batchTeam">
                                <option th:each="batchList:${batchList}" th:text="${batchList.getBatchTeam()}"></option>
                            </select>
                            </td>
                            <th>用工单位:</th>
                            <td><select name="laborUnit">
                                <option value="学工处">学工处</option>
                                <option value="图书馆">图书馆</option>
                                <option value="财务部">财务部</option>
                                <option value="心理咨询中心">心理咨询中心</option>
                                <option value="创四方园">创四方园</option>
                            </select>
                            </td>

                            <th>学号:</th>
                            <td><select name="stuId">
                                <option th:each="stuIdList:${stuIdList}" th:text="${stuIdList.getStuId()}"></option>
                            </select>
                            </td>
                            <th>年份:</th>
                            <td><input type="text" name="year" ></td>
                        </tr>
                        <tr>

                            <th>月份</th>
                            <td><input type="text" name="month" ></td>
                            <th>工时:</th>
                            <td><input type="text" name="hour" ></td>
                            <th>时薪:</th>
                            <td><input type="text" name="salary" ></td>
                            <th>总工资:</th>
                            <td><input type="text" name="allSalary" ></td>

                        </tr>

                    </table>

                </form>
            </div>


        </div>
    </div>
</div>
<script th:src="@{/layui/layui.js}"></script>
<script>
    //JavaScript代码区域
    layui.use('element', function() {
        var element = layui.element;
    });
</script>
</body>
</html>
